package com.example.demo.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@TableName("webpage_2")
@Data
public class WebPage2User {
    @TableId(type= IdType.AUTO ,value = "id")
    private Integer id;
    private String title;
    private String type;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date date;
    private String message;
    private String author;
    private String url;
    private int pageId;
}
